package com.flyox.game.militarychess.message;

import java.io.Serializable;
import java.util.Hashtable;

import com.flyox.game.militarychess.bean.ChessDesk;
import com.flyox.game.militarychess.bean.ChessMan;

public class Response implements Serializable{
	//999 error 000 OK
	private static final long serialVersionUID = -5767965491209929005L;
	private int responseType;
	private int res;
	private String id;
	private byte[] pubKeyEnc;
	
	private Hashtable<Integer, ChessDesk> desks;//房间中的所有 桌面 信息
	private ChessMan[][] layout;//返回的本桌布局 只返回可以看到的布局
	private ChessDesk chessDesk;
	
	private int chessManStates;//吃子结果
	private int seatStates;//个人状态 
	private int teamStates;//队伍状态
	
	private String message;//返回的错误信息
	
	public int getRes() {
		return res;
	}
	
	public void setRes(int res) {
		this.res = res;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public byte[] getPubKeyEnc() {
		return pubKeyEnc;
	}
	public void setPubKeyEnc(byte[] pubKeyEnc) {
		this.pubKeyEnc = pubKeyEnc;
	}
	public Hashtable<Integer, ChessDesk> getDesks() {
		return desks;
	}
	public void setDesks(Hashtable<Integer, ChessDesk> desks) {
		this.desks = desks;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public ChessMan[][] getLayout() {
		return layout;
	}
	public void setLayout(ChessMan[][] layout) {
		this.layout = layout;
	}
	public int getChessManStates() {
		return chessManStates;
	}
	public void setChessManStates(int chessManStates) {
		this.chessManStates = chessManStates;
	}
	public int getSeatStates() {
		return seatStates;
	}
	public void setSeatStates(int seatStates) {
		this.seatStates = seatStates;
	}
	public int getTeamStates() {
		return teamStates;
	}
	public void setTeamStates(int teamStates) {
		this.teamStates = teamStates;
	}
	public int getResponseType() {
		return responseType;
	}
	public void setResponseType(int responseType) {
		this.responseType = responseType;
	}

	public ChessDesk getChessDesk() {
		return chessDesk;
	}

	public void setChessDesk(ChessDesk chessDesk) {
		this.chessDesk = chessDesk;
	}

}
